package com.dckj.auto.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.dckj.auto.entity.AuthRole;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WangDong123
 * @since 2018-09-03
 */
public interface AuthRoleService extends IService<AuthRole> {

    Integer saveOrUpdate(AuthRole role);

    Integer delete(String id);

    List<AuthRole> list(Page<AuthRole> page, String name);

    Integer updateState(String id,Integer state);


}
